package service;

import com.github.pagehelper.PageInfo;
import entity.LayRequest;
import entity.HService;

import java.util.List;
import java.util.Map;

/**
 * @author lay
 * @date 2020/6/22 10:55
 */
public interface ServiceService {

    List<HService> selectAll();

    int insert(HService hService);

    void batchDelete(Integer[] ids);

    int delete(Integer id);

    HService selectById(Integer id);

    int update(HService service);

    /*PageInfo<HService> selectByPage(Map<String,Object> map);*/

    PageInfo<HService> selectByPage(LayRequest layRequest);
}
